Skip to content

fix(code): inspect declared Python requirement files - #182

Merged
AntoineToussaint merged 1 commit into
mainfrom
fix/python-declared-requirements
Aug 8, 2026
Merged

fix(code): inspect declared Python requirement files#182
AntoineToussaint merged 1 commit into
mainfrom
fix/python-declared-requirements

Conversation

@AntoineToussaint

Copy link
Copy Markdown
Contributor

Closes #181.

Makes Python GetProjectInfo declarative and complete for requirements-only code units. It prefers author-maintained requirements.in over compiled requirements.txt, follows typed includes through the Code VFS, preserves deterministic declaration order, normalizes duplicate names, handles extras/markers/continuations/direct references through a dedicated requirements parser, and returns typed partial evidence on include/validation failures.

This also recognizes requirements.in as a Python code-unit declaration. Installed environment inspection remains available only through the separate ListDependencies capability.

Verification:

  • go test ./code -run TestPythonProjectInfo -count=1
  • go test ./... -count=1

@AntoineToussaint
AntoineToussaint merged commit be9ce83 into main Aug 8, 2026
1 check passed
@AntoineToussaint
AntoineToussaint deleted the fix/python-declared-requirements branch August 8, 2026 21:06
@AntoineToussaint AntoineToussaint mentioned this pull request Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python GetProjectInfo ignores requirements-only declared dependencies

1 participant